package com.jyw.business.ast.domain.vo.web;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jyw.common.annotation.Conversion;
import com.jyw.common.annotation.Excel;
import com.jyw.common.enums.ConversionType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.FieldNameConstants;

import java.util.Date;

@Data
@ApiModel("耗材详情-申领记录")
@FieldNameConstants
public class AstConsumableClaimVo {

    /** 主键 */
    @ApiModelProperty("主键")
    private Long id;

    /** 申请科室 */
    @ApiModelProperty("申请科室")
    @Conversion(value = ConversionType.DEPT,name = Fields.inDeptName)
    private Long inDept;

    @ApiModelProperty("申请科室名称")
    private String inDeptName;

    /** 申请人 */
    @ApiModelProperty("申请人")
    @Conversion(value = ConversionType.USER,name = Fields.createUserName)
    private Long createUser;

    /** 申请人 */
    @ApiModelProperty("申请人名称")
    private String createUserName;

    /** 申请时间 */
    @ApiModelProperty("申请时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty("申请数量")
    private Integer quantity;
}
